package com.supplychainapi.model;

import com.supplychainapi.proxy.annotation.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Id;
import java.util.Date;

@ApiModel("部门表")
public class Tbdepartment {
    @Id
    @ApiModelProperty("部门id")
    private String fsDepartmentId;

    @Id
    @ApiModelProperty("店铺id")
    private String fsShopGUID;

    @ApiModelProperty("部门名称")
    @NotNull
    private String fsDepartmentName;

    @ApiModelProperty("1正常9禁用")
    private Short fiStatus;

    private Date fsCreateTime;

    private String fsCreateUserId;

    private String fsCreateUserName;

    private Date fsUpdateTime;

    private String fsUpdateUserId;

    private String fsUpdateUserName;

    /**
     * @return fsDepartmentId
     */
    public String getFsDepartmentId() {
        return fsDepartmentId;
    }

    /**
     * @param fsDepartmentId
     */
    public void setFsDepartmentId(String fsDepartmentId) {
        this.fsDepartmentId = fsDepartmentId == null ? null : fsDepartmentId.trim();
    }

    /**
     * @return fsShopGUID
     */
    public String getFsShopGUID() {
        return fsShopGUID;
    }

    /**
     * @param fsShopGUID
     */
    public void setFsShopGUID(String fsShopGUID) {
        this.fsShopGUID = fsShopGUID == null ? null : fsShopGUID.trim();
    }

    /**
     * @return fsDepartmentName
     */
    public String getFsDepartmentName() {
        return fsDepartmentName;
    }

    /**
     * @param fsDepartmentName
     */
    public void setFsDepartmentName(String fsDepartmentName) {
        this.fsDepartmentName = fsDepartmentName == null ? null : fsDepartmentName.trim();
    }

    /**
     * @return fiStatus
     */
    public Short getFiStatus() {
        return fiStatus;
    }

    /**
     * @param fiStatus
     */
    public void setFiStatus(Short fiStatus) {
        this.fiStatus = fiStatus;
    }

    /**
     * @return fsCreateTime
     */
    public Date getFsCreateTime() {
        return fsCreateTime;
    }

    /**
     * @param fsCreateTime
     */
    public void setFsCreateTime(Date fsCreateTime) {
        this.fsCreateTime = fsCreateTime;
    }

    /**
     * @return fsCreateUserId
     */
    public String getFsCreateUserId() {
        return fsCreateUserId;
    }

    /**
     * @param fsCreateUserId
     */
    public void setFsCreateUserId(String fsCreateUserId) {
        this.fsCreateUserId = fsCreateUserId == null ? null : fsCreateUserId.trim();
    }

    /**
     * @return fsCreateUserName
     */
    public String getFsCreateUserName() {
        return fsCreateUserName;
    }

    /**
     * @param fsCreateUserName
     */
    public void setFsCreateUserName(String fsCreateUserName) {
        this.fsCreateUserName = fsCreateUserName == null ? null : fsCreateUserName.trim();
    }

    /**
     * @return fsUpdateTime
     */
    public Date getFsUpdateTime() {
        return fsUpdateTime;
    }

    /**
     * @param fsUpdateTime
     */
    public void setFsUpdateTime(Date fsUpdateTime) {
        this.fsUpdateTime = fsUpdateTime;
    }

    /**
     * @return fsUpdateUserId
     */
    public String getFsUpdateUserId() {
        return fsUpdateUserId;
    }

    /**
     * @param fsUpdateUserId
     */
    public void setFsUpdateUserId(String fsUpdateUserId) {
        this.fsUpdateUserId = fsUpdateUserId == null ? null : fsUpdateUserId.trim();
    }

    /**
     * @return fsUpdateUserName
     */
    public String getFsUpdateUserName() {
        return fsUpdateUserName;
    }

    /**
     * @param fsUpdateUserName
     */
    public void setFsUpdateUserName(String fsUpdateUserName) {
        this.fsUpdateUserName = fsUpdateUserName == null ? null : fsUpdateUserName.trim();
    }
}